
#通过占位形式,完成拼接
name = "黑马程序员"
message = "学IT来 : %s" % name
print(message)


#通过占位形式,完成数字和字符串的拼接
class_num = 57
avg_slsary  = 5545
print("班级%s, 工资%s" %(class_num,avg_slsary))


name = "传智播客"
setup_year = 2006
stock__price = 10.99
message = "%s, 成立于:%d,今天骨架是%f" %(name,setup_year
                                         ,stock__price)
print(message)